package java56_7.ex;

import java.util.Scanner;

public class Exctest3 {
	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		try {
			System.out.println("intput i");
			int i = sc.nextInt();
			System.out.println("input j");
			int j = sc.nextInt();
			int shang = i / j;
			System.out.println("结果是：" + shang);
		} catch (NullPointerException e) {
			System.out.println("出现错误了");
			e.printStackTrace();
		} finally {
			System.out.println("计算结束了！！！");
			System.out.println("收尾工作！");
		}

	}
}
